{% extends 'base.html' %}
{% block title %}首页 - Page{% endblock title %}
{% block style %}
<style scoped>
    .container{
        width: 70%;
    }
</style>
{% endblock style %}

{% block content %}
<h1>首页轮播图</h1>
<div class="container">
    <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
        <ol class="carousel-indicators">
          <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
          <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
          <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
        </ol>
        <div class="carousel-inner">
          <div class="carousel-item active" data-interval="1000">
            <img src="https://st-gdx.dancf.com/gaodingx/0/uxms/design/20210105-153215-45ce.png" class="d-block w-100" alt="...">
          </div>
          <div class="carousel-item" data-interval="1000">
            <img src="https://st-gdx.dancf.com/gaodingx/0/uxms/design/20210105-173101-41dc.png" class="d-block w-100" alt="...">
          </div>
          <div class="carousel-item" data-interval="1000">
            <img src="https://st-gdx.dancf.com/gaodingx/0/uxms/design/20210113-160807-dbdd.png" class="d-block w-100" alt="...">
          </div>
        </div>
        <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
          <span class="carousel-control-prev-icon" aria-hidden="true"></span>
          <span class="sr-only">Previous</span>
        </a>
        <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
          <span class="carousel-control-next-icon" aria-hidden="true"></span>
          <span class="sr-only">Next</span>
        </a>
      </div>
</div>
{% endblock content %}